projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f090e8
)
(tex-validate-region, tex-region):
author
Richard M. Stallman
<rms@gnu.org>
Wed, 3 Nov 1993 20:00:33 +0000
(20:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 3 Nov 1993 20:00:33 +0000
(20:00 +0000)
Enable menu items if only mark is active.
lisp/textmodes/tex-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/tex-mode.el
b/lisp/textmodes/tex-mode.el
index 517b54c2604715d84765bbb1345b8c28a5e74d43..92712689bd1d44337ec503dda64556f4ff8cfb15 100644
(file)
--- a/
lisp/textmodes/tex-mode.el
+++ b/
lisp/textmodes/tex-mode.el
@@
-211,6
+211,9
@@
Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
(define-key keymap [menu-bar tex tex-buffer] '("Tex Buffer" . tex-buffer))
)
+(put 'tex-region 'menu-enable 'mark-active)
+(put 'tex-validate-region 'menu-enable 'mark-active)
+
(defvar tex-mode-map nil "Keymap for TeX mode.")
(if tex-mode-map